From 4cc7aa2fb009d949c79711c5dca21c4b3ac48c4f Mon Sep 17 00:00:00 2001 From: "cl349@arcadians.cl.cam.ac.uk" Date: Thu, 16 Dec 2004 15:15:00 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.485 (41c1a674gZukh01k-Bzk58RO8w0voQ) Don't bind a misdirect virq handler. --- .../arch/xen/kernel/evtchn.c | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c b/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c index bf208335e5..e348cecf7b 100644 --- a/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c +++ b/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c @@ -476,27 +476,6 @@ static struct hw_interrupt_type pirq_type = { NULL }; -static irqreturn_t misdirect_interrupt(int irq, void *dev_id, - struct pt_regs *regs) -{ - /* nothing */ - return IRQ_HANDLED; -} - -static struct irqaction misdirect_action = { - misdirect_interrupt, - SA_INTERRUPT, - CPU_MASK_NONE, - "misdirect", - NULL, - NULL -}; - -void setup_misdirect_virq(void) -{ - (void)setup_irq(bind_virq_to_irq(VIRQ_MISDIRECT), &misdirect_action); -} - void irq_suspend(void) { int pirq, virq, irq, evtchn; @@ -599,8 +578,6 @@ void __init init_IRQ(void) irq_desc[pirq_to_irq(i)].handler = &pirq_type; } - (void)setup_misdirect_virq(); - /* This needs to be done early, but after the IRQ subsystem is alive. */ ctrl_if_init(); } -- 2.30.2